;
{
    var Util = {};
  
    /**
     * Caixa de Messagens
     **/
    Util.showMessageBox = function(response){
        $('#message-box .modal-body .content').html(response.message);
        $('#message-box .modal-header .title').html((response.status=='error')?'Erro':'Sucesso');
        $('#message-box .modal-footer .close-message-box').click(function(){
            $('#message-box').modal('hide');
        });
        $('#message-box').modal('show');    
    }

    /**
     * Reload Container
     **/
    Util.reloadContainer = function(url){
        $('#loaging-content-container').show();
        $('.containercontent').load(url,function(){
            $('#loaging-content-container').fadeOut(500);
        });
    }

};